package com.ruoyi.dmpdatacollect.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分区值生成策略对象 dmp_dcollect_task_partvaluegen
 * 
 * @author MquanZeng
 * @date 2021-12-17
 */
public class DmpDcollectTaskPartvaluegen extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 任务ID */
    @Excel(name = "任务ID")
    private Integer taskId;

    /** 分区字段 */
    @Excel(name = "分区字段")
    private String partfield;

    /** 分区值生成类型 */
    @Excel(name = "分区值生成类型")
    private String partvalGentype;

    /** 日期时间格式 */
    @Excel(name = "日期时间格式")
    private String datetimeFormat;

    /** 分区值 */
    @Excel(name = "分区值")
    private String partval;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTaskId(Integer taskId) 
    {
        this.taskId = taskId;
    }

    public Integer getTaskId() 
    {
        return taskId;
    }
    public void setPartfield(String partfield) 
    {
        this.partfield = partfield;
    }

    public String getPartfield() 
    {
        return partfield;
    }
    public void setPartvalGentype(String partvalGentype) 
    {
        this.partvalGentype = partvalGentype;
    }

    public String getPartvalGentype() 
    {
        return partvalGentype;
    }
    public void setDatetimeFormat(String datetimeFormat) 
    {
        this.datetimeFormat = datetimeFormat;
    }

    public String getDatetimeFormat() 
    {
        return datetimeFormat;
    }
    public void setPartval(String partval) 
    {
        this.partval = partval;
    }

    public String getPartval() 
    {
        return partval;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("partfield", getPartfield())
            .append("partvalGentype", getPartvalGentype())
            .append("datetimeFormat", getDatetimeFormat())
            .append("partval", getPartval())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
